<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="/css/style1.css" th:href="@{/css/style1.css}">
  <link rel="stylesheet" href="/css/style3.css" th:href="@{/css/style3.css}">
  <title>Login</title>
</head>
<body background="/image/box1.png">
  <div class="login-container">
    <table class="pure-table">
        <thead>
            <tr>
                <th width="300">姓名</th>
                <th width="300">学号</th>
                <th width="300">科目1</th>
                <th width="300">科目2</th>
            </tr>
        </thead>
        <tbody>
        <tr th:each="user:${users}" class="pure-table-odd">
            <td th:text="${user.name}"></td>
            <td th:text="${user.sno}"></td>
            <td th:text="${user.sub1}"></td>
            <td th:text="${user.sub2}"></td>
        </tr>
        </tbody>
    </table> 
    </div>
</body>
</html>